﻿@model GameProject.Models.LocalPasswordModel

@section scripts
    {

    <script src="~/Scripts/pictureUpload.js"></script>
    }

<h3>Breyta mínum stillingum</h3>

@using (Html.BeginForm("Manage", "Account")) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <legend>Change Password Form</legend>
        <ol>
            <li>
                @Html.LabelFor(m => m.OldPassword, "Núverandi lykilorð")
                @Html.PasswordFor(m => m.OldPassword)
            </li>
            <li>
                @Html.LabelFor(m => m.NewPassword, "Nýtt lykilorð")
                @Html.PasswordFor(m => m.NewPassword)
            </li>
            <li>
                @Html.LabelFor(m => m.ConfirmPassword, "Staðfesta nýtt lykilorð")
                @Html.PasswordFor(m => m.ConfirmPassword)
            </li>
            <li>
                @*Added possibility to change email*@
                @Html.LabelFor(m => m.Email, "Nýtt netfang")
                @Html.TextBoxFor(m => m.Email)
                @Html.ValidationMessageFor(m => m.Email)
            </li>
        </ol>
        <input type="submit" value="Breyta" />
        <br />
        
    </fieldset>
}